/**
 * 
 */
package net.phoenix.repository.data;


/**
 * @author lixf
 *
 */
public class ItemDefinitionData extends BasicData{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3738327578233187759L;
	private String name; //
	
	private boolean autoCreated = false;

	private boolean mandatory = false;
	private boolean isProtected = false;

	public ItemDefinitionData() {
	
		this.name = null;
	
	}
	public boolean isAutoCreated() {
		return autoCreated;
	}

	public void setAutoCreated(boolean autoCreated) {
		this.autoCreated = autoCreated;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getName() {
		return name;
	}
	public boolean isMandatory() {
		return mandatory;
	}

	public void setMandatory(boolean mandatory) {
		this.mandatory = mandatory;
	}

	public boolean isProtected() {
		return isProtected;
	}

	public void setProtected(boolean isProtected) {
		this.isProtected = isProtected;
	}
}
